var productionServer = ""; //生产环境
// var developmentServer = "http://192.168.0.105:8080"; //开发环境
var developmentServer = "https://nurse.leanin.com.cn"; //开发环境
var host = developmentServer;
module.exports = {
  apiGetOpenid: `${host}/client/wxUser/getOpenid`, //获取openId
  apiUserLogin: `${host}/client/user/userLogin`, //{openid} 用户患者注册接口
  apiWorkerLogin: `${host}/client/workers/workerLogin`, // 职工登录
  apiUpdatePassword: `${host}/client/workers/updatePassword`, // 职工修改登录密码
  apiGetWorerInformation: `${host}/client/workers/findById`, // /{id}职工登录
  apiUpdatePhone: `${host}/client/workers/updatePhone`, //{workersId}/{手机号} 职工修改手机号
  apiGetEmployeeEmergencyContact: `${host}/client/workers/findDetailById`, //{workersId} 获取职工紧急联系人
  apiAddAddingEmergencyContacts: `${host}/client/emergencyContact/addEmergencyContact`, //添加紧急联系人
  apiEditAddingEmergencyContacts: `${host}/client/emergencyContact/updateEmergencyContact`, //{紧急联系人id}编辑紧急联系人
  apiGetNotice: `${host}/client/notice/findByParam`, //{page当前页}/{pageSize每页展示条数}获取公告
  apiGetNoticeDetail: `${host}/client/notice/findById`, //{noticId 公告id}获取公告详情
  apiGetServiceTime: `${host}/client/serviceScheduling/findByParam`, //{类型 1 后台 2 微信前端}获取服务排班时间
  apiGetUserInfo: `${host}/client/user/getUserByUserId`, //{userId}获取患者端信息
  apiUpdate_userPhone: `${host}/client/user/updateUser`, //修改电话号码及个人信息
  apiUpdateNameIdcard: `${host}/client/user/realNameAuthentication`, //实名认证修改
  apiGetServingPatients: `${host}/client/patient/findByParam`, //{page}/{pageSize}查询服务患者
  apiAddServingPatients: `${host}/client/patient/addPatient`, //添加用户的服务患者
  apiEditServingPatients: `${host}/client/patient/updatePatient`, //用户编辑服务患者
  apiGetUserPatientOne: `${host}/client/patient/getPatientById`, //{patientId}用户获取当前编辑的服务患者的信息
  apiGetUserServiceAddress: `${host}/client/address/getAddressList`, //{userId}查看用户的服务地址
  apiAddUserServiceAddress: `${host}/client/address/addAddress`, //{userId}新增用户的服务地址
  apiGetUserAddressOne: `${host}/client/address/getServiceAddressById`, //{addressId}用户获取当前编辑地址的信息
  apiGetHotServicesList: `${host}/client/serviceItems/findByParam`, //{page}/{pageSize} 页码 条数
  apiGetHospitalList: `${host}/client/hospital/findByParam`, //{page}/{pageSize} 获取医院列表 页码 条数
  apiGetDetail: `${host}/client/hospitalServiceItems/getHospitalServiceItems`, // 根据服务id查询服务详情
  apiSaveOrder: `${host}/client/order/saveOrder`, // 保存订单信息
  apiGetUserOrderList: `${host}/client/order/listUserOrder`, // 查订单
  apiUpdateOrderStatus: `${host}/client/order/updateOrderStatus`, // 修改订单状态
  apiGetServies: `${host}/client/order/listWorkerOrder`, // 修改订单状态
  apiGetOrderDetail: `${host}/client/order/getOrderDetail`, // 根据订单号获取订单详情
  apiGetServiesNum: `${host}/client/order/getOrderCount`, // 获取护士端服务数量
  apiGetrecentService: `${host}/client/order/getRecentOrder`, // 获取护士端近期服务
  apiUpdateServiceState: `${host}/client/order/updateExecuteStatus`, // 护士端点击开始出发安全到达
  apiSiccessService: `${host}/client/order/checkReservationNumber`, // 护士输入服务码服务完成
  apiSignOut: `${host}/client/wxUser/logout`, // 护士患者切换
  apiGetWorkInfo: `${host}/client/workers/findByOpenid`, // 护士根据openId直接登录
  apiWorkerSignOut: `${host}/client/workers/logout`, // 护士根据openId直接退出
  apiGetHospitalListByServiceId: `${host}/client/hospital/listServiceHospital`, // 根据公司服务的服务Id去查询该服务有哪些医院
  apiGetServiceByHospitalId: `${host}/client/hospitalServiceItems/listPage`, // 根据医院Id找对应的服务项目
  apiUpdateUserServiceAddress: `${host}/client/address/updateAddress`, // 编辑服务地址
  apiOrderPay: `${host}/client/pay/wechatPay` // 订单支付
}